#ifndef _SHELL_TEAMPLAYER_BEAN_H_
#define _SHELL_TEAMPLAYER_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include <vector>
using namespace std;
class TeamPlayer : public Bean
{
	public:
	TeamPlayer();
	~TeamPlayer();
	void reset();
	TeamPlayer* clone();
	//角色id
	int64 playerId;
	//头像id
	int32 headId;
	//角色名称
	string playerName;
	//等级
	int16 level;
	//战斗力
	int32 force;
	//留言
	string msgs;
	//穿戴的称号

	vector<int32> titleIds;
	//称号
	int16 title;
	//是否上阵0否1是
	int8 isBattle;
	//是否在线0否1是
	int8 isOnline;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
